package com.hiema.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * redis常用
 * </p>
 *
 * @author HM
 * @since 2023-05-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RedisObject implements Serializable {


      @ApiModelProperty(value = "文章id")
      private long articleId;

      @ApiModelProperty(value = "不知道是什么id")
      private int equipmentId;

      @ApiModelProperty(value = "点赞 0取消 1点赞")
      private Integer operation;

      @ApiModelProperty(value = "关注 0取消 1关注")
      private Integer operations;

      @ApiModelProperty(value = "收藏 0取消 1收藏")
      private Integer operationss;

      @ApiModelProperty(value = "时间")
      private Integer publisshedTime;

      @ApiModelProperty(value = "作者id")
      private int authorId;

      @ApiModelProperty(value = "阅读次数")
      private int count;


      @ApiModelProperty(value = "1 喜欢  0取消不喜欢")
      private Integer type;

      @ApiModelProperty(value = "0文章  1 动态 2 评论")
      private Integer types;


}
